package com.fire.control.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "t_resources") 
public class Resource extends BaseEntity{
	
	private static final long serialVersionUID = 1L;
	
	@Column(name = "name", nullable = false,length=50)
	private String name;
	
	@Column(name = "resource_url")
	private String resourceUrl;
	
	@Column(name = "join_url")
	private String joinUrl;
	
	@Column(name = "resource_desc")
	private String resourceDesc;
	
	@Column(name = "resource_code", nullable = false)
	private String resourceCode;
	
	@Column(name = "resource_type")
	private String resourceType;
	
	@Column
	private String path;
	
	@Column
	private String sort;

	
	
	
	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
	public String getResourceUrl() {
		return resourceUrl;
	}

	public void setResourceUrl(String resourceUrl) {
		this.resourceUrl = resourceUrl;
	}
	

	public String getJoinUrl() {
		return joinUrl;
	}

	public void setJoinUrl(String joinUrl) {
		this.joinUrl = joinUrl;
	}

	public String getResourceDesc() {
		return resourceDesc;
	}

	public void setResourceDesc(String resourceDesc) {
		this.resourceDesc = resourceDesc;
	}

	public String getResourceCode() {
		return resourceCode;
	}

	public void setResourceCode(String resourceCode) {
		this.resourceCode = resourceCode;
	}

	public String getResourceType() {
		return resourceType;
	}

	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}
	
	
}
